﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            int [] a = new int[3];
            for (int i = 0; i < a.Length; i++)
            {
                Console.WriteLine("输入第"+(i+1)+"个数");
                a[i] = int.Parse(Console.ReadLine());
            }
            Array.Sort(a);
            Console.WriteLine("最大的数是"+a[2]);
        }
    }
}
